<!DOCTYPE html>
<html lang="en-us">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    
    <title>zsdfbb的博客</title>
    <meta name="viewport" content="width=device-width,minimum-scale=1">
    <meta name="description" content="">
    <meta name="generator" content="Hugo 0.109.0">
    
    
    
    
      <meta name="robots" content="noindex, nofollow">
    

    
<link rel="stylesheet" href="/ananke/css/main.min.css" >



    
    
    
      

    

    
    
      <link href="/index.xml" rel="alternate" type="application/rss+xml" title="zsdfbb的博客" />
      <link href="/index.xml" rel="feed" type="application/rss+xml" title="zsdfbb的博客" />
      
    
    
    <meta property="og:title" content="zsdfbb的博客" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://zsdfbb.gitee.io/" />
<meta itemprop="name" content="zsdfbb的博客">
<meta itemprop="description" content=""><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="zsdfbb的博客"/>
<meta name="twitter:description" content=""/>

	
  </head>

  <body class="ma0 avenir bg-near-white">

    

  <header>
    <div class="pb3-m pb6-l bg-black">
      <nav class="pv3 ph3 ph4-ns" role="navigation">
  <div class="flex-l justify-between items-center center">
    <a href="/" class="f3 fw2 hover-white no-underline white-90 dib">
      
        zsdfbb的博客
      
    </a>
    <div class="flex-l items-center">
      

      
      
<div class="ananke-socials">
  
</div>

    </div>
  </div>
</nav>

      <div class="tc-l pv3 ph3 ph4-ns">
        <h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title">
          zsdfbb的博客
        </h1>
        
      </div>
    </div>
  </header>


    <main class="pb7" role="main">
      
 <article class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy mid-gray">
    
  </article>
  
  
  
  
  
  
  
    
    

    <div class="pa3 pa4-ns w-100 w-70-ns center">
      
       
          <h1 class="flex-none">
            Recent Posts
          </h1>
        

      

      <section class="w-100 mw8">
        
        
          <div class="relative w-100 mb4">
            
<article class="bb b--black-10">
  <div class="db pv4 ph3 ph0-l no-underline dark-gray">
    <div class="flex flex-column flex-row-ns">
      
          
        <div class="pr3-ns mb4 mb0-ns w-100 w-40-ns">
          <a href="/posts/qemu_debug_linux/" class="db grow">
            <img src="https://zsdfbb.gitee.io/images/qemu_debug_linux.jpg" class="img" alt="image from 构建linux调试环境">
          </a>
        </div>
      
      <div class="blah w-100 w-60-ns pl3-ns">
        <h1 class="f3 fw1 athelas mt0 lh-title">
          <a href="/posts/qemu_debug_linux/" class="color-inherit dim link">
            构建linux调试环境
            </a>
        </h1>
        <div class="f6 f5-l lh-copy nested-copy-line-height nested-links">
          构建linux调试环境 由于研究linux内核的需要，我需要一个基于qemu/gdb/aarch64/linux 6.2 的调试环境。 这个是我部署的环境，仅供参考。
我的开发环境 我使用 ubuntu 20.04 作为开发环境。同时我安装了下列程序，用于linux、busybox的编译、调试。
sudo apt update -y &amp;&amp; sudo apt upgrade -y sudo apt install qemu-user qemu-user-static gcc-aarch64-linux-gnu sudo apt install binutils-aarch64-linux-gnu sudo apt install binutils-aarch64-linux-gnu-dbg sudo apt install build-essential libncurses5-dev sudo apt install git bison flex libssl-dev sudo apt install gdb gdb-multiarch 我的目录结构 我的目录组织如下所示下面一些脚本配置个这些目录结构有关
[17:32:20] [~/Develop/LinuxLab] -&gt; % tree -L 2 . ├── busybox │ ├── build │ ├── build.sh │ ├── install │ └── src ├── linux │ ├── build │ ├── build.
        </div>
          <a href="/posts/qemu_debug_linux/" class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">read more</a>
        
      </div>
    </div>
  </div>
</article>

          </div>
        
          <div class="relative w-100 mb4">
            
<article class="bb b--black-10">
  <div class="db pv4 ph3 ph0-l no-underline dark-gray">
    <div class="flex flex-column flex-row-ns">
      
          
        <div class="pr3-ns mb4 mb0-ns w-100 w-40-ns">
          <a href="/posts/my-first-post/" class="db grow">
            <img src="https://zsdfbb.gitee.io/images/home.jpg" class="img" alt="image from 我的第一篇博客">
          </a>
        </div>
      
      <div class="blah w-100 w-60-ns pl3-ns">
        <h1 class="f3 fw1 athelas mt0 lh-title">
          <a href="/posts/my-first-post/" class="color-inherit dim link">
            我的第一篇博客
            </a>
        </h1>
        <div class="f6 f5-l lh-copy nested-copy-line-height nested-links">
          这里是Markdown 正文
꒒ ♡ ⌵ ୧
        </div>
          <a href="/posts/my-first-post/" class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">read more</a>
        
      </div>
    </div>
  </div>
</article>

          </div>
        
      </section>

      

      </div>
  

    </main>
    <footer class="bg-black bottom-0 w-100 pa3" role="contentinfo">
  <div class="flex justify-between">
  <a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="https://zsdfbb.gitee.io/" >
    &copy;  zsdfbb的博客 2023 
  </a>
    <div>
<div class="ananke-socials">
  
</div>
</div>
  </div>
</footer>

  </body>
</html>
